package mylibrary.generic;

public class AMap<K, V> {

	private K key;
	private V value;
	public K getKey() {
		return key;
	}
	public void setKey(K key) {
		this.key = key;
	}
	public V getValue() {
		return value;
	}
	public void setValue(V value) {
		this.value = value;
	}
	
	
	public static void main(String[] args) {
		
		AMap<String, Integer> a = new AMap<String, Integer>();
		a.setKey("key");
		a.setValue(1);
		
		System.out.println(a.getKey());
		System.out.println(a.getValue());
	}
}
